package com.bluetooth.lib.util;




import com.bluetooth.lib.BluetoothUtil;

import android.util.Log;


/**
 * @author breaktian
 * 20150706
 * log工具类
 * */
public class L {
	private static String TAG = "bluetooth";
	
	public static void i(String msg){
		if(!BluetoothUtil.LOG) return;
		Log.i(TAG, msg);
	}
	
	public static void i(String tag, String msg){
		if(!BluetoothUtil.LOG) return;
		Log.i(tag, msg);
	}
	
	public static void e(String msg){
		if(!BluetoothUtil.LOG) return;
		Log.e(TAG, msg);
	}
	
	public static void e(String tag, String msg){
		if(!BluetoothUtil.LOG) return;
		Log.e(tag, msg);
	}
	
	public static void e(String tag, String msg, Throwable tr){
		if(!BluetoothUtil.LOG) return;
		Log.e(tag, msg, tr);
	}
	
}
